package com.huike.review.service;

import com.huike.review.pojo.Review;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {


    void saveData1(Review review);

    void saveData2(Review review);

    void deleteById(Integer id);

    void update(Review review);

    Review getById(Long id);

    List<Review> getList();

    List<Review> getByConditions(Integer page, Integer pageSize, String name, Integer age, String sex);
}
